package com.waimai1.waimai.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (PageComponent)表实体类
 *
 * @author makejava
 * @since 2024-05-22 16:54:40
 */
@SuppressWarnings("serial")
public class PageComponent extends Model<PageComponent> {
    
    private Integer id;
    
    private Integer acid;
    
    private String imgs;
    
    private String texts;
    
    private String componentSort;
    //跳转链接数组
    private String linkto;
    //跳转分类
    private String linkSort;
    //组件的参数
    private String params;
    //隶属页面编号
    private Integer pageIndex;
    //组件排序位置
    private Integer componentOrder;
    @TableField(fill = FieldFill.INSERT)

    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updataTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAcid() {
        return acid;
    }

    public void setAcid(Integer acid) {
        this.acid = acid;
    }

    public String getImgs() {
        return imgs;
    }

    public void setImgs(String imgs) {
        this.imgs = imgs;
    }

    public String getTexts() {
        return texts;
    }

    public void setTexts(String texts) {
        this.texts = texts;
    }

    public String getComponentSort() {
        return componentSort;
    }

    public void setComponentSort(String componentSort) {
        this.componentSort = componentSort;
    }

    public String getLinkto() {
        return linkto;
    }

    public void setLinkto(String linkto) {
        this.linkto = linkto;
    }

    public String getLinkSort() {
        return linkSort;
    }

    public void setLinkSort(String linkSort) {
        this.linkSort = linkSort;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getComponentOrder() {
        return componentOrder;
    }

    public void setComponentOrder(Integer componentOrder) {
        this.componentOrder = componentOrder;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdataTime() {
        return updataTime;
    }

    public void setUpdataTime(Date updataTime) {
        this.updataTime = updataTime;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

